package com.csun.cmny.provider.dao;

import com.csun.cmny.provider.pojo.OldmanRecharge;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public interface OldmanRechargeMapper {
    int deleteByPrimaryKey(Integer rechargeId);

    int insert(OldmanRecharge record);

    int insertSelective(OldmanRecharge record);

    OldmanRecharge selectByPrimaryKey(Integer rechargeId);

    int updateByPrimaryKeySelective(OldmanRecharge record);

    int updateByPrimaryKey(OldmanRecharge record);

    List<OldmanRecharge> showRechargeAll(Map<String,Object> queryMap);

    int deleteByOldmanId(Integer oldmanId);

    BigDecimal getRechargeTotal(Integer oldmanId);
}